package mysql

import "gorm.io/gorm"

type Good struct {
	gorm.Model
	Name   string `gorm:"type:varchar(20);not null;comment:'商品名称'"`
	Img    string `gorm:"type:varchar(200);not null;comment:'商品图片'"`
	UserId int    `gorm:"type:int(20);not null;comment:'用户id'"`
	Num    int    `gorm:"type:int(20);not null;comment:'商品数量'"`
	Price  int    `gorm:"type:int(20);not null;comment:'商品价格'"`
}
